package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 单字段对象 form_column
 *
 * @author ruoyi
 * @date 2023-11-16
 */
@Data
public class FormColumn
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 控件id */
    @Excel(name = "控件id")
    private String componentId;

    /** 类型 */
    @Excel(name = "类型")
    private String componentType;

    /** 标签 */
    @Excel(name = "标签")
    private String label;

    /** 表单id */
    @Excel(name = "表单id")
    private Long defineId;

    /** $column.columnComment */

    @TableField(fill = FieldFill.INSERT)
    private Long createUserId;

    /** $column.columnComment */

    @TableField(fill = FieldFill.INSERT)
    private String createUserName;

    /** $column.columnComment */

    @TableField(fill = FieldFill.UPDATE)
    private Long updateUserId;

    /** $column.columnComment */

    @TableField(fill = FieldFill.UPDATE)
    private String updateUserName;
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    @TableField(fill = FieldFill.UPDATE)
    private Date updateTime;

    /** $column.columnComment */

    @TableLogic
    private Integer isDelete;
    /**
     * 是否在列表页显示
     */
    private Boolean showInList;


    private Float listColumnSort;

}
